<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
    <style>
      .dv1 {
        width: 200px;
        height: 200px;
        border: 1px solid red;
        display: flex;
      }
      .div1 {
        display: flex;
        flex-direction: column;
        flex-flow: column;
        flex: 1;
      }
      .div2 {
        background-color: blue;
        flex: 1;
      }
      .div11 {
        background-color: aqua;
        flex: 1;
      }
      .div12 {
        background-color: red;
        flex: 1;
      }

      .dv2 {
        width: 500px;
        height: 500px;
        border: 1px solid #188431;
        display: flex;
        flex-flow: column;
        text-align: center;
      }
      .dv2 > div:nth-child(1) {
        flex: 1;
        background-color: red;
      }
      .dv2 > div:nth-child(2) {
        flex: 5;
        background-color: #ffcc3f;
        overflow: hidden;
        overflow-y: scroll;
      }
      .dv2 > div:nth-child(3) {
        flex: 1;
        background-color: #0f6621;
      }
      /* 滚动条样式 */
      ::-webkit-scrollbar {
        display: none;
      }

      
      .dv3 {
        display: flex;
        flex-flow: column;
        min-width: 10px;
      }
      .dv3 > div:nth-child(1) {
        flex: 1;
        width: 100%;
        background-color: #188431;
        display: flex;
      }
      .dv3 > div:nth-child(1) > div:nth-child(1) {
        height: 50px;
        width: 50px;
        background-color: red;
      }
      .dv3 > div:nth-child(2) {
        flex: 5;
        width: 100%;
        background-color: #ccc;
        display: flex;
      }
      .dv3 > div:nth-child(2) > div:nth-child(1) {
        height: 500px;
        flex: 1;
        background-color: #faea0f;
      }
      .dv3 > div:nth-child(2) > div:nth-child(2) {
        flex: 1;
        background-color: #708090;
      }
      .dv3 > div:nth-child(2) > div:nth-child(3) {
        flex: 1;
        background-color: #fa8072;
      }
      .dv3 > div:nth-child(3) {
        height: 50px;
        width: 100%;
        background-color: #0fecb5;
      }
    </style>
  </head>
  <body>
    <div class="dv1">
      <div class="div1">
        <div class="div11">1</div>
        <div class="div12">2</div>
      </div>
      <div class="div2">3</div>
    </div>

    <div class="dv2">
      <div>1</div>
      <div>
        <div>2222</div>
        <div>2222</div>
        <div>2222</div>
        <div>2222</div>
        <div>2222</div>
        <div>2222</div>
        <div>2222</div>
        <div>2222</div>
        <div>2222</div>
        <div>2222</div>
        <div>2222</div>
        <div>2222</div>
        <div>2222</div>
        <div>2222</div>
        <div>2222</div>
        <div>2222</div>
        <div>2222</div>
        <div>2222</div>
        <div>2222</div>
        <div>2222</div>
        <div>2222</div>
        <div>2222</div>
        <div>2222</div>
        <div>2222</div>
        <div>2222</div>
        <div>2222</div>
        <div>2222</div>
        <div>2222</div>
        <div>2222</div>
        <div>2222</div>
        <div>2222</div>
      </div>
      <div>3</div>
    </div>

    <div class="dv3">
      <div>
        <div>上左,宽高固定</div>
        <div>上右,高度固定,宽度自适应</div>
      </div>
      <div>
        <div>中1,中部区域全部为高度自适应</div>
        <div>中2,中部区域全部为高度自适应</div>
        <div>中3,中部区域全部为高度自适应</div>
      </div>
      <div>底部,高度固定,宽度自适应</div>
    </div>
  </body>
</html>
